﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:skin="clr-namespace:UBCon.Ribbon.SkinManagers">

    <Color x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}">White</Color>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonWindowBorderBrush}" Color="#2B579A" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultBorderBrush}" Color="Transparent" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=AppMenuBackgroundBrush}" Color="#2B579A" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=AppMenuItemsPanelBrush}" Color="#2B579A" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=AppMenuSwirlBrush}" Color="Transparent" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=AppMenuSelectedContentBackgroundBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=FooterBackground}" Color="#FF2B579A" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}" Color="Black" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TransparentBrush}" Color="Transparent" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultImageBrush}" Color="#777777" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DecoratorBrush}" Color="#2B579A" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CaptionButtonPressedStateBrush}" Color="#19478A" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GrayBrush}" Color="Gray" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonBarBorderBrush}" Color="#D5D5D5" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightGrayBrush}" Color="LightGray" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightLightGrayBrush}" Color="#E1E1E1" />

    <Color x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DropDownBorderColor}">#C6C6C6</Color>

    <Color x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DropDownBackgroundColor}">White</Color>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DropDownBorderBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DropDownBorderColor}}" />
    
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DropDownBackgroundBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DropDownBackgroundColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GalleryHeaderBrush}" Color="#EEEEEE" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GalleryBorderBrush}" Color="#ABAFB2" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedGalleryItemBrush}" Color="#C2D5F2" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedMenuBackgroundBrush}" Color="#FF3E6DB5" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LeftArrowImage_DefaultStateBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LeftArrowImage_MouseOverStateBrush}" Color="#FF3E6DB5" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverMenuBackgroundBrush}" Color="#FF19478A" />

    <!--<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TabItemMouseOverBrush}" Color="#FF1C97EA" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TabItemSelectedBrush}" Color="#FF007ACC" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TabItemCloseButtonMouseOverState}" Color="#FF3D9EDE" />-->

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TabItemMouseOverBrush}" Color="#2B579A" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TabItemSelectedBrush}" Color="#FF3E6DB5" />

    <DropShadowEffect x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                   ResourceId=DropDownShadowEffect}"
                      BlurRadius="9"
                      Opacity="0.5"
                      ShadowDepth="0"
                      Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                               ResourceId=DropDownBorderColor}}" />


    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ScrollerMouseOverBorderBrush}" Color="#FF9B9BA4" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ScrollerBackgroundBrush}" Color="#FFF3F3F3" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ScrollerBorderBrush}" Color="#FFABABAB" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ScrollerPressedBackgroundBrush}" Color="#FFF0F0F0" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ScrollerPressedBoderBrush}" Color="#FF777777" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SideScrollerPressedBoderBrush}" Color="#FF19478A" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SideScrollerMouseOverBoderBrush}" Color="#2B579A" />

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PageButtonPressedBackgroundBrush}" StartPoint="0,0.5" EndPoint="1,0.5">
        <GradientStop Offset="1" Color="#FFDBDBDB" />
        <GradientStop Offset="0.139" Color="#FFCECECE" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ScrollerBackgroundBrush1}" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="1" Color="#FFDEE4EA" />
        <GradientStop Offset="0.478" Color="#FFDEE4EA" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BackgroundBrush1}" x:Shared="True" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="0.129" Color="#FFF7F7F7" />
        <GradientStop Offset="0.707" Color="#FFE9E9EB" />
        <GradientStop Offset="0.414" Color="#FFE9E9EB" />
    </LinearGradientBrush>


    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowBackgroundBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonGroupBorderBrush}" Color="#FFA8C0D3" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonBarBackgroundBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonBarSelectedItemBkBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonGroupFooterBrush}" Color="#FFC1D8F2" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowActiveTitleBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowInActiveTitleBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TransparentBackground}" x:Shared="True" StartPoint="0,0" EndPoint="1,1">
        <GradientStop Offset="1" Color="Transparent" />
        <GradientStop Offset="1" Color="Transparent" />
    </LinearGradientBrush>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedTabItemBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteColor}}" />

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedBorderBrush}" x:Shared="True" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="1" Color="#FFB6BABF" />
        <GradientStop Color="#FFB6BABF" />
        <GradientStop Offset="1" Color="#FFB6BABF" />
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MSWord2010AppMenuBackgroundBrush}" x:Shared="True" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="0.431" Color="#FF215AAE" />
        <GradientStop Offset="0.216" Color="#FF215AB0" />
        <GradientStop Offset="0.845" Color="#FF427ADB" />
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowContentBrush}" x:Shared="True" MappingMode="RelativeToBoundingBox" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="1" Color="#FFC8CCD1" />
        <GradientStop Color="#FFCDD1D6" />
        <GradientStop Offset="0.491" Color="#FFC2C6CB" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=OutlookWindowContentBrush}" x:Shared="True" MappingMode="RelativeToBoundingBox" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="1" Color="#FFDCE0E5" />
        <GradientStop Color="#FFDEE2E7" />
        <GradientStop Offset="0.491" Color="#FFDDE1E6" />
    </LinearGradientBrush>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=DropShadowBrush}"
                     x:Shared="True"
                     Color="#FFA9B0B8" />
    <!--<LinearGradientBrush  EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFBBBFC3" Offset="0"/>
        <GradientStop Color="#FFA9B0B8" Offset="1"/>
        <GradientStop Color="#FFA9B0B8" Offset="0.514"/>
    </LinearGradientBrush>-->
    <DropShadowEffect x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                   ResourceId=RibbonBarDropShadow}"
                      x:Shared="True"
                      BlurRadius="9"
                      Direction="283"
                      ShadowDepth="1"
                      Color="#FFB1B4B9" />
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=MouseOverBackgroundBrush}"
                     x:Shared="True"
                     Color="#D5E1F2" />
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=PressedBorderBrush}"
                     x:Shared="True"
                     Color="#A3BDE3" />
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=MouseOverBorderBrush}"
                     x:Shared="True"
                     Color="#D5E1F2" />
    <!--<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly=mas:SkinManager, ResourceId=MouseOverBorderBrush}" StartPoint="0,0" EndPoint="0,1" >
        <GradientStop Offset="0" Color="#FFE3C085" />
        <GradientStop Offset="0.19" Color="#FFF4CC89" />
        <GradientStop Offset="0.36" Color="#FFF5C777" />
        <GradientStop Offset="0.36" Color="#FFF5BB56" />
        <GradientStop Offset="0.79" Color="#FFF4CE9A" />
        <GradientStop Offset="1" Color="#FFF3E28D" />
    </LinearGradientBrush>-->
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=PressedBackgroundBrush}"
                     x:Shared="True"
                     Color="#A3BDE3" />
    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultTransitionBrush}" x:Shared="True" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="0.238" Color="#FFF8FAFB" />
        <GradientStop Offset="1" Color="#FFE1E4E8" />
        <GradientStop Offset="0.511" Color="#FFEDEFF2" />
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="&#256;" x:Shared="True" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="0" Color="#FFE7CBAD" />
        <GradientStop Offset="0.1" Color="#FFF7D7B5" />
        <GradientStop Offset="0.36" Color="#FFFFD38C" />
        <GradientStop Offset="0.36" Color="#FFFFC75A" />
        <GradientStop Offset="1" Color="#FFFFEFA5" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="&#269;" x:Shared="True" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="0" Color="#40FFFEFE" />
        <GradientStop Offset="0.39" Color="#40FFFEFE" />
        <GradientStop Offset="0.39" Color="#20FFCE68" />
        <GradientStop Offset="0.69" Color="#20FFCE68" />
        <GradientStop Offset="1" Color="#10FFFFFF" />
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CloseButtonBackground}" x:Shared="True" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Offset="0" Color="#FFFE8382" />
        <GradientStop Offset="1" Color="#FFE36162" />
        <GradientStop Offset="0.491" Color="#FFF67979" />
    </LinearGradientBrush>
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=TitleForeground}"
                     x:Shared="True"
                     Color="#FF3B3B3B" />

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SplitterBorderBrush}" x:Shared="True" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="0.2" Color="#FFF0F1F4" />
        <GradientStop Offset="1" Color="#FFB6BABF" />
        <GradientStop Offset="1" Color="#FFB6BABF" />
    </LinearGradientBrush>
    <RadialGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MinimizedGroupMouseOverBrush}" x:Shared="True" Center="0.5,0.7" GradientOrigin="0.5,1" RadiusX="0.6" RadiusY="0.6">
        <GradientStop Offset="0.238" Color="#FFF8FAFB" />
        <GradientStop Offset="1" Color="#FFEDEFF2" />
        <GradientStop Offset="0.0" Color="White" />
    </RadialGradientBrush>
    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SlowAnimationBackground}" x:Shared="True" StartPoint="0.0,0.5" EndPoint="1.0,0.5">
        <GradientStop Offset="0.0" Color="#01FFFFFF" />
        <GradientStop Offset="0.5" Color="#80FFFFFF" />
        <GradientStop Offset="1.0" Color="#01FFFFFF" />
    </LinearGradientBrush>
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=DefaultForegroundBrush}"
                     x:Shared="True"
                     Color="Black" />

    <!--<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=DefaultForegroundBrush}"
                     x:Shared="True"
                     Color="#FF767380" />-->

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                  ResourceId=DisabledBorderBrush}"
                     x:Shared="True"
                     Color="#AAA" />

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MessageBoxFooterBackground}" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="0" Color="White" />
        <GradientStop Offset="1" Color="#FFF0F1F4" />
        <GradientStop Offset="0.491" Color="#FFFDFCFC" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MessageBoxFooterBorderBrush}" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="1" Color="#FFB6BABF" />
        <GradientStop Color="#FFB6BABF" />
        <GradientStop Offset="1" Color="#FFB6BABF" />
    </LinearGradientBrush>

    <!--  ==========================Office 2007 ApplicationMenu Brushes==========================  -->

    <RadialGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SilverButton}" GradientOrigin="0.5,0.95" RadiusX="0.8">
        <GradientStop Offset="0" Color="White" />
        <GradientStop Offset="1" Color="#FF6C7E87" />
    </RadialGradientBrush>

    <RadialGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=OrangeButton}" GradientOrigin="0.5,0.95" RadiusX="0.9">
        <GradientStop Offset="0" Color="#FFF2CF94" />
        <GradientStop Offset="0.5" Color="#FFE97304" />
        <GradientStop Offset="1" Color="#FFA66107" />
    </RadialGradientBrush>

    <RadialGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=OrangeLightButton}" GradientOrigin="0.5,0.95" RadiusX="0.9">
        <GradientStop Offset="0" Color="#FFFDFABE" />
        <GradientStop Offset="0.5" Color="Orange" />
        <GradientStop Offset="1" Color="OrangeRed" />
    </RadialGradientBrush>


    <!--  ==========================Images==========================  -->

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}" Color="#FF4D5874" />

    <SolidColorBrush x:Key="LauncherImageBrush" Color="#50000000" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}" Color="#FFA2A9B2" />

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LeftArrowImage_DefaultState}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowBackgroundBrush}}" Geometry="M15,4 L3,4 L7,0 L5,0 L0,5 L5,10 L7,10 L3,6 L15,6z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowBackgroundBrush}}" Thickness="0.6" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LeftArrowImage_MouseOverState}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedMenuBackgroundBrush}}" Geometry="M15,4 L3,4 L7,0 L5,0 L0,5 L5,10 L7,10 L3,6 L15,6z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedMenuBackgroundBrush}}" Thickness="0.6" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LauncherButtonImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M1,6 L1,1 L6,1">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightGrayBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 7,4 L 7,7 L 4,7">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightGrayBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>

                <GeometryDrawing Geometry="M0,5 L0,0 L5,0 M 3,3 L5,5">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey=LauncherImageBrush}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GrayBrush}}" Geometry="M 6,3 L 6,6 L 3,6 Z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey=LauncherImageBrush}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpandImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:SkinManager, ResourceId=DefaultForegroundBrush}}" Geometry="M0,4 L 6,4 L 3,8 L 0,4">
                <GeometryDrawing.Pen>
                    <Pen Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledExpandImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightGrayBrush}}" Geometry="M0,4 L 6,4 L 3,8 L 0,4">
                <GeometryDrawing.Pen>
                    <Pen Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>


    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=gvozdik}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="White" Geometry="M16,7 L16,2 L14,2 L14,3 L11,3 L6,0 L6,3.4 L-1,3.4 L-1,6 L6,6 L6,10 L11,7 L14,7 L14,8 L16,8z">
                <GeometryDrawing.Pen>
                    <Pen Brush="#FF535353" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpandedButtonImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteBrush}}" Geometry="M0,16 L0,9 11,0 22,9 22,16 15,16 11,10 7,16 0,16">
                <GeometryDrawing.Pen>
                    <Pen Brush="#FF535353" Thickness="2" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledExpandedButtonImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteBrush}}" Geometry="M0,16 L0,9 11,0 22,9 22,16 15,16 11,10 7,16 0,16">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GrayBrush}}" Thickness="2" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CollapsedButtonImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteBrush}}" Geometry="M0,0 L0,7 11,16 22,7 22,0 15,0 11,6 7,0 0,0">
                <GeometryDrawing.Pen>
                    <Pen Brush="#FF535353" Thickness="2" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledCollapsedButtonImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WhiteBrush}}" Geometry="M0,0 L0,7 11,16 22,7 22,0 15,0 11,6 7,0 0,0">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GrayBrush}}" Thickness="2" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LeftArrow}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Geometry="M2,4 L 2,0 L0,2 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RightArrow}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Geometry="M0,4 L 0,0 L2,2 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LineDownArrow}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}}" Geometry="M 0 0 L 3.5 4 L 7 0 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LineUpArrow}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}}" Geometry="M 0 4 L 7 4 L 3.5 0 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HorizontalLines}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Geometry="M 2 0 L 10 0">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Geometry="M 2 2 L 10 2">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Geometry="M 2 4 L 10 4">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Geometry="M 2 6 L 10 6">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=VerticalLines}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Geometry="M 0 2 L 0 10">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Geometry="M 2 2 L 2 10">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Geometry="M 4 2 L 4 10">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Geometry="M 6 2 L 6 10">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=HVLinesBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>

        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LineLeftArrow}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}}" Geometry="M 0 4 L 4 8 L 4 0 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LineRightArrow}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}}" Geometry="M 0 0 L 0 8 L 4 4 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ArrowBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DownArrowImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultForegroundBrush}}" Geometry="M4,0 L 2,2 L0,0 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultForegroundBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledDownArrowImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightGrayBrush}}" Geometry="M4,0 L 2,2 L0,0 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightGrayBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=UpArrowImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultForegroundBrush}}" Geometry="M4,2 L 2,0 L0,2 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultForegroundBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledUpArrowImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightGrayBrush}}" Geometry="M4,2 L 2,0 L0,2 Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightGrayBrush}}" Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=QAToolBarMenuArrow}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L8,0">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:SkinManager, ResourceId=DefaultForegroundBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:SkinManager, ResourceId=DefaultForegroundBrush}}" Geometry="M1,3 L 7,3 L 4,7 L 1,3">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledQAToolBarMenuArrow}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L8,0">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:SkinManager, ResourceId=LightGrayBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:SkinManager, ResourceId=LightGrayBrush}}" Geometry="M1,3 L 7,3 L 4,7 L 1,3">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <!--  {ComponentResourceKey TypeInTargetAssembly=skin:SkinManager, ResourceId=ExpanderImage_Down}  -->
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpanderImageBrush}" Color="#FF646464" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledExpanderImageBrush}" Color="#FFD3D3D3" />

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpanderImage_Down}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpanderImageBrush}}" Geometry="M1,1 L2.5,0.5 L5.5,3.5 L8.5,0.5 L10,1 L10.5,2.5 L5.5,7.5 L0.5,2.5Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpanderImageBrush}}" Thickness="0.8" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
            <!--  #FF353232  -->
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledExpanderImage_Down}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledExpanderImageBrush}}" Geometry="M1,1 L2.5,0.5 L5.5,3.5 L8.5,0.5 L10,1 L10.5,2.5 L5.5,7.5 L0.5,2.5Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledExpanderImageBrush}}" Thickness="0.8" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
            <!--  #FF353232  -->
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpanderImage_Up}">
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpanderImageBrush}}" Geometry="M1,7 L0.5,5.5 L5.5,0.5 L10.5,5.5 L10,7 L8.5,7.5 L5.5,4.5 L2.5,7.5Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ExpanderImageBrush}}" Thickness="0.8" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
            <!--  #FF353232  -->
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=ThumbImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedBorderBrush}}" Geometry="M0,0 L2,0 L2,2 L0,2z" />
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedBorderBrush}}" Geometry="M5,0 L7,0 L7,2 L5,2z" />
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedBorderBrush}}" Geometry="M10,0 L12,0 L12,2 L10,2" />
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedBorderBrush}}" Geometry="M15,0 L17,0 L17,2 L15,2z" />
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledExpanderImage_Up}">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M1,7 L0.5,5.5 L5.5,0.5 L10.5,5.5 L10,7 L8.5,7.5 L5.5,4.5 L2.5,7.5Z">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DisabledExpanderImageBrush}}" Thickness="0.8" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>

        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowRestoreImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="#FFF0F3F5" Geometry="F1 M 4.25937,0.5L 11.5894,0.5L 11.5894,7.16L 4.25937,7.16L 4.25937,0.5 Z ">
                    <GeometryDrawing.Pen>
                        <Pen Brush="#FF646464" MiterLimit="2.75" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="#FFF0F3F5" Geometry="F1 M 5.95771,3.19458L 10.041,3.19458L 10.041,5.77792L 5.95771,5.77792L 5.95771,3.19458 Z ">
                    <GeometryDrawing.Pen>
                        <Pen Brush="#FF646464"
                             MiterLimit="2.75"
                             Thickness="0.5" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="#FFF0F3F5" Geometry="F1 M 0.5,3.37604L 7.83,3.37604L 7.83,10.036L 0.5,10.036L 0.5,3.37604 Z ">
                    <GeometryDrawing.Pen>
                        <Pen Brush="#FF646464" MiterLimit="2.75" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="#FFF0F3F5" Geometry="F1 M 2.19833,6.07062L 6.28167,6.07062L 6.28167,8.65396L 2.19833,8.65396L 2.19833,6.07062 Z ">
                    <GeometryDrawing.Pen>
                        <Pen Brush="#FF646464"
                             MiterLimit="2.75"
                             Thickness="0.5" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GripResizeImageBrush}" StartPoint="0,-1" EndPoint="1.8,-0.25">
        <GradientStop Offset="0.5" Color="Gray" />
        <GradientStop Offset="0.5" Color="White" />
    </LinearGradientBrush>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GripResizeImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M12,0 L14,0 L14,2 L12,2z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M12,5 L14,5 L14,7 L12,7z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M12,10 L14,10 L14,12 L12,12z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M7,5 L9,5 L9,7 L7,7z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M7,10 L9,10 L9,12 L7,12z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M2,10 L4,10 L4,12 L2,12z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=QADownArrowImage}" RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L8,0">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Geometry="M0,4 L 8,4 L 4,7z">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TwoRightArrowedImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Geometry="M0,0 L 3,2 L0,4z">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Geometry="M4,0 L 7,2 L4,4z">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>


    <!--  ================================Caption button resources==============================================  -->
    <Pen x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                      ResourceId=DefaultPen}"
         Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                  ResourceId=DefaultImageBrush}}"
         EndLineCap="Flat"
         StartLineCap="Flat"
         Thickness="2.15" />

    <Pen x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                      ResourceId=MouseOverStatePen}"
         Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                   ResourceId=DecoratorBrush}}"
         EndLineCap="Flat"
         StartLineCap="Flat"
         Thickness="2.15" />

    <Pen x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                      ResourceId=PressedStatePen}"
         Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                   ResourceId=CaptionButtonPressedStateBrush}}"
         EndLineCap="Flat"
         StartLineCap="Flat"
         Thickness="2.15" />

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=NormalStateImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                          ResourceId=DefaultImageBrush}}"
                                 Geometry="M0,0 L9,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                        ResourceId=DefaultPen}}" />
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                          ResourceId=DefaultImageBrush}}"
                                 Geometry="M9,0 L0,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                        ResourceId=DefaultPen}}" />
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverStateImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                           ResourceId=DecoratorBrush}}"
                                 Geometry="M0,0 L9,9"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                         ResourceId=MouseOverStatePen}}" />
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                           ResourceId=DecoratorBrush}}"
                                 Geometry="M9,0 L0,9"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                         ResourceId=MouseOverStatePen}}" />
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedStateImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                           ResourceId=CaptionButtonPressedStateBrush}}"
                                 Geometry="M0,0 L9,9"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                         ResourceId=PressedStatePen}}" />
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                           ResourceId=CaptionButtonPressedStateBrush}}"
                                 Geometry="M9,0 L0,9"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                         ResourceId=PressedStatePen}}" />
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>


    <ControlTemplate x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaulThumbTemplate}" TargetType="{x:Type Thumb}">
        <Border HorizontalAlignment="Stretch"
                VerticalAlignment="Stretch"
                Background="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                              ResourceId=WhiteBrush}}">
            <Image Margin="0,0,0,2"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Center"
                   Source="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                             ResourceId=ThumbImage}}"
                   Stretch="None" />
        </Border>
    </ControlTemplate>
    <Style x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaulThumbStyle}" TargetType="{x:Type Thumb}">
        <Setter Property="SnapsToDevicePixels" Value="True" />
        <Setter Property="Cursor" Value="SizeNS" />
        <Setter Property="Template" Value="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaulThumbTemplate}}" />
    </Style>


    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LightBlackBrush}" Color="#FF555555" />

    <Pen x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                      ResourceId=_Pen1}"
         Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                  ResourceId=LightBlackBrush}}"
         Thickness="0.8" />

    <Pen x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                      ResourceId=_Pen2}"
         Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                  ResourceId=DecoratorBrush}}"
         Thickness="0.8" />

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonBarOptionsButtonImage}" RenderOptions.BitmapScalingMode="Linear">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L12,0 L12,10 L0,10z" Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=_Pen1}}" />
                <GeometryDrawing Geometry="M0,2.5 L12,2.5" Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=_Pen1}}" />
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                           ResourceId=LightBlackBrush}}"
                                 Geometry="M4,5 L6,2.5 L8,5 L6,3.7z"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                         ResourceId=_Pen1}}" />
                <GeometryDrawing Geometry="M6,2.5 L6,10" Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=_Pen1}}" />
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonBarOptionsButtonImage_MouseOverState}" RenderOptions.BitmapScalingMode="Linear">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L12,0 L12,10 L0,10z" Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=_Pen2}}" />
                <GeometryDrawing Geometry="M0,2.5 L12,2.5" Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=_Pen2}}" />
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                           ResourceId=DecoratorBrush}}"
                                 Geometry="M4,5 L6,2.5 L8,5 L6,3.7z"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                         ResourceId=_Pen2}}" />
                <GeometryDrawing Geometry="M6,2.5 L6,10" Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=_Pen2}}" />
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TickImage}">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M0,5 L3,8 L6,0">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BlackBrush}}" Thickness="0.8" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <Pen x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                      ResourceId=WhitePen}"
         Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                  ResourceId=WhiteBrush}}"
         EndLineCap="Flat"
         StartLineCap="Flat"
         Thickness="2.15" />

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TabItemCloseButtonImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                          ResourceId=WhiteBrush}}"
                                 Geometry="M0,0 L9,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                        ResourceId=WhitePen}}" />
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                          ResourceId=WhiteBrush}}"
                                 Geometry="M9,0 L0,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager},
                                                                                        ResourceId=WhitePen}}" />
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

</ResourceDictionary>